
package ae.pcfc.etks.finance.types.v2;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;


/**
 * <p>Java class for clientPrePaidTransaction complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="clientPrePaidTransaction">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="transactionnumber" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="tarnsactionDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="ref" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="PA" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="creditAmount" type="{http://www.w3.org/2001/XMLSchema}double"/>
 *         &lt;element name="debitAmount" type="{http://www.w3.org/2001/XMLSchema}double"/>
 *         &lt;element name="runningbalance" type="{http://www.w3.org/2001/XMLSchema}double"/>
 *         &lt;any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "clientPrePaidTransaction", propOrder = {
    "transactionnumber",
    "tarnsactionDate",
    "type",
    "ref",
    "pa",
    "creditAmount",
    "debitAmount",
    "runningbalance",
    "any"
})
public class ClientPrePaidTransaction {

    protected int transactionnumber;
    @XmlElement(required = true)
    protected String tarnsactionDate;
    @XmlElement(required = true)
    protected String type;
    @XmlElement(required = true)
    protected String ref;
    @XmlElement(name = "PA", required = true)
    protected String pa;
    protected double creditAmount;
    protected double debitAmount;
    protected double runningbalance;
    @XmlAnyElement
    protected List<Element> any;

    /**
     * Gets the value of the transactionnumber property.
     * 
     */
    public int getTransactionnumber() {
        return transactionnumber;
    }

    /**
     * Sets the value of the transactionnumber property.
     * 
     */
    public void setTransactionnumber(int value) {
        this.transactionnumber = value;
    }

    /**
     * Gets the value of the tarnsactionDate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTarnsactionDate() {
        return tarnsactionDate;
    }

    /**
     * Sets the value of the tarnsactionDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTarnsactionDate(String value) {
        this.tarnsactionDate = value;
    }

    /**
     * Gets the value of the type property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getType() {
        return type;
    }

    /**
     * Sets the value of the type property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setType(String value) {
        this.type = value;
    }

    /**
     * Gets the value of the ref property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRef() {
        return ref;
    }

    /**
     * Sets the value of the ref property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRef(String value) {
        this.ref = value;
    }

    /**
     * Gets the value of the pa property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPA() {
        return pa;
    }

    /**
     * Sets the value of the pa property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPA(String value) {
        this.pa = value;
    }

    /**
     * Gets the value of the creditAmount property.
     * 
     */
    public double getCreditAmount() {
        return creditAmount;
    }

    /**
     * Sets the value of the creditAmount property.
     * 
     */
    public void setCreditAmount(double value) {
        this.creditAmount = value;
    }

    /**
     * Gets the value of the debitAmount property.
     * 
     */
    public double getDebitAmount() {
        return debitAmount;
    }

    /**
     * Sets the value of the debitAmount property.
     * 
     */
    public void setDebitAmount(double value) {
        this.debitAmount = value;
    }

    /**
     * Gets the value of the runningbalance property.
     * 
     */
    public double getRunningbalance() {
        return runningbalance;
    }

    /**
     * Sets the value of the runningbalance property.
     * 
     */
    public void setRunningbalance(double value) {
        this.runningbalance = value;
    }

    /**
     * Gets the value of the any property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the any property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getAny().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Element }
     * 
     * 
     */
    public List<Element> getAny() {
        if (any == null) {
            any = new ArrayList<Element>();
        }
        return this.any;
    }

}
